import request from '@/utils/request'
/**
 * 获取角色列表
 * ***/
export function getRoleListApi(params) {
  return request({
    method: 'get',
    url: '/sys/role',
    params
  })
}

/**
 * 删除角色
 ***/
export function deleteRoleApi(id) {
  return request({
    url: `/sys/role/${id}`,
    method: 'delete'
  })
}
